feat(cct-sdk): Add transfer pool ownership op solana - #358
Conversation
|
You must have Developer access to commit code to Chainlink Labs on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes. Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles |
|
Issue:
Fix: Add Proof: Test at |
A family-agnostic consumer hits Fix: Rename to Consistency check: https://github.com/smartcontractkit/ccip-tools-ts/blob/cct-sdk/ccip-sdk/src/cct/evm/token-pool/operations/transfer-ownership.ts\#L21 |
|
Parameter
Judgment call: Pick one axis (on-chain naming or cross-family naming) and apply to both operation and parameter. |
|
Line 102 in transfer-pool-ownership.ts: the self-transfer guard throws If the operation's Fix: Use if (opts.proposedOwner.equals(new PublicKey(config.owner))) {
throw new CCTParamsInvalidError(
this.name,
'proposedOwner',
'must not be the current pool owner',
)
}(See line 60 in the same file for the parse() guard pattern.) |
Summary: APPROVE-with-changesGreen in isolation: tsc --noEmit 0 real errors; op test 7/7 passing; type-clean (no On-chain grounded burnmint-token-pool:
Housekeeping (not a finding)
Action needed before merge:
Non-issues (reviewed, not findings)
|
@aelmanaa Addressed all your comments. |
feat: add accept pool ownership op solana
What
transferPoolOwnershipand unsigned transaction generation to the CCT SDK facadeWhy